using System.Web.Mvc;

namespace CollegeWebsite.Web.Common
{
    public class Ajax
    {
        public Ajax()
        {
          	
        }
        public static ActionResult IsAjax(ViewResult view, bool isAjaxRequest)
        {
            if (isAjaxRequest)
            {
                view.MasterName = "popUp";

            }
            return view;
        }
    }
}
